﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="Cache-Control" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<script src="js/jquery-2.1.4.min.js"></script>
	
	   <script type="text/javascript">
      
    </script>
</head>

<body id="bg">

	<div class="container pos">
		<form action="filetest.htm" method="post" enctype="multipart/form-data">
			<input type="file" name="multfile" accept="application/zip" multiple="multiple">
			<input type="submit" value="上传文件" />
		</form>
		
	</div>

<script type="text/javascript">
	var map={
			id:1,
			name:'sst',
			kz:'dd'
	} 
	$.ajax({
		url:'posttest.htm',
		type:'post',
		data:map,
		dataType:'json',
		success:function(data){
			console.log(data)
		}
	})
	
</script>

</body>
</html>